composetable: Drop GtkComposeTableCompact
authorMatthias Clasen <mclasen@redhat.com>
Thu, 8 Jul 2021 21:59:50 +0000 (17:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Jul 2021 02:03:23 +0000 (22:03 -0400)
commit54dffa07f309c90677ae57eea8feb41acc5be717
treec4f24ec9e6e61cfe106c2e00d549ee1568be0fc3
parent1cff4bb27ae2abe421a062c6ea8c1fda56151425
composetable: Drop GtkComposeTableCompact

All tables use the compact format now, and we generate
caches in that format too. Bump the cache version to 3
for this.

Replace the python script for generating the builtin table
by a small C program using the same code to generate the data
for the builtin table. This drops the restriction on only
generating a single character in the builtin sequences.
27 files changed:
gtk/compose/chars [new file with mode: 0644]
gtk/compose/compose-parse.c [new file with mode: 0644]
gtk/compose/compose-parse.py [deleted file]
gtk/compose/gtk-compose-lookaside.txt [deleted file]
gtk/compose/gtkcomposedata.h [new file with mode: 0644]
gtk/compose/meson.build [new file with mode: 0644]
gtk/compose/sequences [new file with mode: 0644]
gtk/gen-gtk-gresources-xml.py
gtk/gtkcomposetable.c
gtk/gtkcomposetable.h
gtk/gtkimcontextsimple.c
gtk/gtkimcontextsimple.h
gtk/meson.build
testsuite/gtk/compose/basic.expected
testsuite/gtk/compose/codepoint.expected
testsuite/gtk/compose/comments.expected
testsuite/gtk/compose/cycle
testsuite/gtk/compose/hex.expected
testsuite/gtk/compose/include
testsuite/gtk/compose/include.expected
testsuite/gtk/compose/long.expected
testsuite/gtk/compose/match.expected
testsuite/gtk/compose/multi.expected
testsuite/gtk/compose/octal.expected
testsuite/gtk/compose/strings.expected
testsuite/gtk/compose/system.expected
testsuite/gtk/composetable.c